﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp9
{
    class Yuanxing:Shape
    {
        private double radius;
        public double Radius { get; set; }

        public override void GetArea(double num1)
        {
            double area = 0;
            area = 3.14 * num1 * num1;
            Console.WriteLine("半径{0}的圆形面积是：{1}", num1, area);
        }
    }
}
